Adjust code to allow use of a 3.5 screen running iOS6