Fixing sliding navigation menu (thanks to Yuliya Bagriy aka @aviskase)