Make SmoothProgressBar a library too