Fixes x-axis problem, now working on y axis