Re-worked gallery animation