fixing the jumpy size of sidebar when clicking the group button