deal with overflow on classification elements and links