added animated bar when link submitted
cleaning up superfluous code