add hacky isBackClickable function