Updated behaviour, fixed formatting

Added the ability to customize the mouse button that hides flyouts when Flyout::IsPinned is false.