adjusting cursor