Updates for #216

reduced jquery scripts by including a single toggle function which
passes in show/hide text from button data.