fixed layout issues with tablet devices