Sliding gallery fixes.