modify LCD direction control