updated home page to use CSS instead of JS