Added horiz and continue paramters to the click_rotate function