added snapRotates and snapTranslates flag to the snapTransform call, needs exposing to the UI's