A snippet of jQuery to trigger events based on browser resize breakpoints