added support for rotating on a left branch; still need a zigzag test