Fixed z-index collision between header and footer on mobile devices

Also content min-height was set for situations when there's no content.