Fix for bug that cause page width to exceed viewport on mobile