corrected main nav with flip animation