Merge pull request #1472 from Kazark/master

Fixes #1161: Navigating between vertically split windows does not work