Prevent acting on navbar in collapsed mode

Added a setting for navbar breakpoint in defaults
Added check in openDropdown to see if dropdown is a descendant of .navbar-collapse and window width is less than the navbar breakpoint