fix footer toggling