fix if statement to choose input/number widget based on django version
add option to animate bootstrap carousel by adding slide class