Fixing a bug when user drag the image before it starts to rotate.

Signed-off-by: shyeon.kim <shyeon.kim@scipi.net>