footer fix (when resizing a window)