make image transition in first approximation
Fix for image switch transition