fix some layout issues for tablet resolution