tweaked the reset method from the scroll method