Fix for slider