add animation and makes the infinate scroll effect work - implements #1