added sticky footer logic