change quickly between next and previous windows

Signed-off-by: Mattijs Korpershoek <mattijs.korpershoek@gmail.com>