Fix the bug that slide menu didn't disappear when the page width exceed smart phone size