added sub loading tpl and gif