changes to put correct margins on phones and tablets in both prtrait and landscape mode