removed unnecessary code
removed uncessary code
portrait and landscape support for iPhone