trying to get sliding right