fixed percent_shown bug on click