Fixes mobile resize to a check on outerheight. Worst hack ever