Allow onBeforeShow and onBeforeHide to stop superfish functionality

This simple modification allows the onBeforeShow and onBeforeHide callbacks to return false, preventing Superfish's default show/hide functionality.

This was necessary for a responsive feature we are building on top of Superfish.