added selected class to topics