setting a dynamic height on index.html