Fixes resize in mobile browsers. Switching back to old implementation
Fixes mobile resize to a check on outerheight. Worst hack ever