positioned canvas to proper size and orientation