Add portrait and landscape support