first remove active class from classlist and append to current element using javascript
By Dan Treutel at Oct 27 2020