change cursor centering