added isPaused flag to track renderer state

isPaused is set to true in pause method, and false on resume method.
This flag is used in the resetStable method to check if the graph is paused
before restarting the animation timer.