device orintation implemented