Progress bar and counter handler functions

Added progress bar and counter handler functions. Updated styling for
the progress bar. Added function to change height of content (not sure
if needed). Fixed some minor bugs.