Changed percentage bar to handle max value as a real 100%