boxes are now placed well on y-axis