updated vis functions to control the year buttons, this was a bug caused by me not adding the code to handle the year values