adapt style to mobile phone