hide nav when not enough to slide