add dynamic sidebar and title