optimize ImageViewFlow