added script to change footer based on window height