Added dynamic sidebar