attempting to add animation to carousel