Fixes for iPhone issue of slider