fixed bug #1 by forcing the rotation to portrait