got sliding gallery working better