added support for slider constraint (sortof tested)