load img optimize, when img in the visible range; code optimize;