This phenomenon happens to me at well. Usually for a few minutes and I remember nothing except that I know I was just staring out of the window. It gets worse with me at night sometimes. Ive lost 2 hours just staring into space I guess.
When I am manic my memory is like a seamless movie but the runtime in the corner makes no sense - too short.