correctly remove class when upvoting