Calculator with portrait and landscape orientation