Modify left right to top bottom