Scroll functionality added