Question

hello, why is the OH on the plane after the E2 reaction but it is on a wedge before the reaction? I understand that it is sp2 hybridized, but wasn't it sp2 before as well?