it rotates normally when rotation is not locked but when i lock the orientation with the orientation tool it stays in landscape