added caption hide and reveal option