Added landscape/portrait support and locking. TODO: adjust the spritz page to work with above