removed portrait flag, added left and right button