get sliding panels working with js and transform option