got sliding working properly