adding loader screen to each link click