woah super buggy slider function