fixed bug where first photolightbox photo would not close on tap