Bind outside listener to html instead of body to support sticky footer