Pass the event from the event listener to the openSlider/closeSlider functions. This fixes an issue in Firefox where the event variable is not found
Merge pull request #1 from robballou/master

Firefox issue with the closeSlider/openSlider functions