Added fix for having mobile tab open and resizing above 960

This script fixes a bug where, if a tab was open under 960px, and the
window was resized above 960px, the div.mobileContent would stay
visible and break the page.