add visual loading class when loading image
removed unused dependencies