based on the fork by https://github.com/thehunmonkgroup/jquery-ui-rotatable