home layout header will show if scrolling down more than certain pxs or page hits the top
fixed regexp for checking file name