How to get rid of thoughts of grandiosness? By practising the eight fold path and meditation I have been able to get over lot of suffering as a result of my past created by my mind. I am able to get over self pity, hatered, anger by following the advise of friends in this forum...

But now that I am over the past my mind has started playing new game...it starts painting pictures of grandiosness...like it presents me with illusions like i will be as great as the Buddha...I will be the Buddha and have followers...i will have super powers...i can fly etc etc...

Its getting difficult to control these thoughts in meditation...its a kind of hindrance I didnt read in any book...

I want to attain silent present moment awareness...is there any sutta which can help me with overcoming this maya of my mind?
Is there any help?
from my own experience with mindfulness meditation over past 10 months (and a slightly longer interest in zen buddhism and Jungian psychology), I can understand what is your struggle. 
Accepting and understanding my own self pity, hatered and anger was a big step for me, yet it has opened me to a completely new set of aspects of my personality that were hiding in the background, undeveloped and a little bit scary at first. 
But frankly, is there something that worries you about your thoughts of becoming something greater? Is it possible that you are not used to be someone better? Or that you are angry about these thoughts? That you pity yourself because your progress was undermined by these new emotions? 
For me it was exactly this. So I took a step back because I found myself in the power of emotions I was originaly trying to understand. 
The great thing about mindfulness meditation is that we are able to notice all of these emotions and thoughts (even grandiosness), understand why they appeared, cherish them for a short time and let them go. 
I wish you a lovely day!
Martin