I've found for quite some time that if I drink milk before bed, either a plain glass of milk, coffee or a milo that I get more vivid dreams. But I was under the assumption this was a fairly common scenario, even if we don't know the underlying reason.