minor bugfix
remember buffer cursor position between view switching