add loading image on redirect layout