finish rotate image