edit gallery image count animation