adds code view toggle