Fix scroll to bug