If we want to have this controller to be reused at other place, we should use a flag inside of ForwardRewindController to do so instead of using global variable.

You may create a member variable to ForwardRewindController for this purpose.