added border and backgrounds to expanding titles and text.