adding animation loading and restyle