add orientation control