Register javascript event to close flyout navigation onclick on body. Fixes #27