before swapping lightbox for prettyPhoto