repositioning image after each src reload