Adapted to work with larger margins on iPhone 6 and 6 Plus