refactored CmxCanvasMoves panels to be a function and managed the transition switching with the data object in there