I believe that the first 5 or so hours of your sleep is mostly dreamless sleep, where your brain exhibits delta waves. The REM periods (where dreaming occurs) dominate if you sleep past 5 hours. I've also noticed that when I sleep for 5 hours at night and take naps in the afternoon, I would have some pretty vivid (and occasionally lucid) dreams during those naps.