Want to keep your eyes shut throughout the night? Watch what you put into your mouth all day long, says a new study.