Removed old code and changed where I was canceling events so links inside the lightbox would work