Suppose this is the layout:
... ...
Absolutely position is another way to fix footer, just like:
footer: { position: 'absolute', height: 40, left: 0, top: WINDOW_HEIGHT - 40, width: WINDOW_WIDTH, }