you probably already looked thi up, but if not, what you where going through is known as hypnopomp or postdormital sleep paralysis (sleep paralysis that happens when waking up). and your lucky cause it often accompanied by very vivid hallucinations, which is beleived to be the source of many...