adjust the positions of legend and information box
adjust the view box