optimized sidebar (did not use contain system)