added transition effect for main view
separated nav menu styles into its own file