Fixed issue with slider