Fix scrollTop animation speed, and remove unnecessary comparator