keep cursor horizontal position when moving between buffers