added sidebar and depth routing