layout and mobile compatibility edits