Handling the traversing of folders through backbone