Adds hide and reveal functionality to profile form sub sections.