try to fix the navbar problem for ipad