tweaks window position for hiding/showing nav