slight modifications for afterscroll navbar