fix for slider not working right in IE