added proper progressbar and right class