fix floating bug on small screen device