tweak nav hiding js