Allows user to change y-axis range