snazzy button functionality