remove loading class after image load complete