change homepage to work with css transitions