Updated ui logic

This updates the logic to determine the size and position of the progress bar and the position of the current circles.