Fixed duplicate states bug when scrolling down