Toggle method

@param {object} el - popup instance DOM node
@param {number} ordinal - order number of an `open` element
function (el, ordinal) {
            if ($(el).data('popup-visible')) {
                methods.hide(el);
            } else {
                setTimeout(function() {
                    methods.show(el, ordinal);
                }, 0);
            }
        }