Check focus also for first and last snapshot
Merge branch 'master' of github.com:kesapojat/codebrowser-web-client