Position slider labels in a more general way