Add ios 7 compatibility to fix for ios 8 status bar widths