added portrait and included preferences

next up: set-up preferences throughout the code