added rotation constraints so that rotates work.