Recalculate footer position on window resize