now slider works in all browsers
fixed minor bugs