added transition to main images