adding some javascript for solution toggling and a different button