added transition to x axis g