added footer toggle scripts