fixes issue with click event not being fired on active slide