added progressbar support for mobile devices