Handle top-on-all-sides behavior for double slabs