added transition styles