adjust css style, test it for ipad