TASK-5: update references to y value using width

- y should reflect height