Fixed progress bar offset and implemented scroll when view is too small