Extracted lamp scroll method from window.