fix slidepanel toggle
it doesn't work correctly on iPhone5 Safari
Merge pull request #1301 from shoichikaji/hotfix/slidepanel-toggle

fix slidepanel toggle