made toggling checkboxes not refresh entire page