updated $.gallery