Calculate the progress bar based on points