Adding sidebar and top panel