Removed scroll calculation and alerts