making carousel pause button flip a slide when played