Dropdown close enhancements and inline show enhancements

Added a show-md-inline and show-lg-inline to retain span behaviour when hiding or showing in different window sized
Added esc and mouse listeners to close the dropdown when clicking outside of the dropdown or pressing esc.