converted gallery to prettyPhoto