fixed top bar js issue