implementation sidebar and layouts