snippet from stackoverflow to fix footer