footer grid and mobile detection for body class