added focus tool implementation

see #573