window width issues and enhancing back to top