Fix switching bug at init
Make switching forward and backward work like Vim.