scroll viewport to show selected blocks

(fix #1)