Finally!! I got to work with a software called Display Rotation Menu X 1.2. I just ran the software once and changed the display to portrait and now it remembers that setting.. It even brought the rotation setting to my system preferences. Here is the link to the softwarte
http://mac.brothersoft.com/display-rotation-menu-x.html
Hope this helps!