self-aligned top-gate