replaced javascript with css (vw and vh)