fixed footer flickering issue