reposition image preview