Fixed animation so it only appears for the homepage