Make sure tree popup is visible. Fixes #263.

Scroll map if the popup wouldn't be visible.
Merge pull request #303 from ahinz/fix/263/always-make-sure-pop-is-visible

Make sure tree popup is visible. Fixes #263.