Use OpenSeadragon methods for event listeners and class manipulation