Set the MaxBarX which is the available amount of the running bar that is not visivisible in the screen