fix show/hide header error when bigger than 15 inch screen