added sidebar to main area and application layout