sidebar changes, added buffer, animations for buffer and toggle button