script that makes header element fade on scroll down