Attempting to detect scroll direction to show hide nav bar