updated x axis transition logic

only transitions when a transform attribute exists