scroll functionality added