added axes resizing for x/y