Fix slider overflow at various display sizes