Removed obsolete scroll logic