changing scroll to auto