full screen for ios/hard code for mac