Check if working on other devices as well
Update for Android, scrollTop did not work correctly. Please check if…
… its working on iPhone and other Android devices as well.
Now I see where the problem lies. Indeed this modification works great on Android 4 if the navigation should be hidden on page load. Is this the intended behavior? I've originally tested this on an iPod Touch and in the original demo the nav isn't hidden but fully visible on page load. Again this modification solves this on this device too.
The animation could be a nice touch but definitely should be optional. Works well for start page landings but is too obtrusive for users who want to get to the content fast like on single article pages.
Thanks kremalicious. The intended behaviour is indeed to hide the navigation on page load.
I haven't been able to test this on Android devices just yet but will go ahead and merge this request as it still works fine on the iPhone I have to test with.