fix bug width bug on tablets