inserts wrapper for sidebar and main