Window scroll with smooth transition