Fix state setting mistake in didScrollHandler;