Hi ! From your symptoms, it seems to be some kind of neurological problem along with possible pressure effect on the nerves of eyes.
This could also be due simply to attacks of migraine
But not to miss anything, you should get yourself reviewed by a Neurologist
, who may advise you for a MRI
scan of brain and an ophthalmological examination before drawing any conclusion.
Wishing you an early recovery.