added configs for flip display vertically or horizontally