transition of sidebar