added preliminary support for a floating toolbar