fix slides when not in root