Added spot to add sidebar, modified tree traversal.