Fix footer and header for small devices