Device orientation taken into consideration