Switching in coplanar amorphous hydrogenated silicon devices