Adjust graph position according to toolbar activation