adds image transitions