hooked up the buttons to animation classes