added switching buttons on the homepage