adjust the postion of preview in changing photot