make flyouts more flexible

fixes issue #46
This line is super terse. Not very readable.