added pagination on admin index for galleries