Fixed so that the buttons on the main screen rotate accordingly when the view is shifted from landscape to portrait mode