image now rotates when clicking two points