Updated ui logic

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