Changed the way flat ui hides stuff in .dropdown-menu

--Flat ui uses visibility: hidden and opacity: 0 for hiding
--Bootstrap uses display: none
--This difference causes compatibility issues with code written with bootstrap css in mind