toggle with buttons, still issues with getAttributes though..