js transitions on the home page btns