added axes and dynamically change the width of the axes