adds selected and inactive class to thumbs in accordion wizard