add function to disable client slide play