avoid scrolling headers on tablet

fix #455 for tablet.