Add Support to portrait and landscape orientation