add loading.gif and remote tabs