Calculate footer position