broken version. slider prototype