Add a functionality to handle an orientation