fixing typo in home page animation code