Changes the redraw ticks function