shortens transition duration from 1000 to 500 for bar graph