make code position toggleable