layout and share fix + tablets support