Update gallery displayCategory page - move toggling visibility to form