hide the knife when window width is smaller than 600.