style fix for tablet and mobile