remove class loading after image load complete