bug in calculation of maxPlotX: page times were not considered in calculation. now page times are incorporated in calculation