Fix scale animation when picture is partially out of the screen
Optimized loading of images