UPDATE: sizing button js fixes, replacing old theme version code with bootstrap toggle code