removed some bad code.
now all buttons work except scroll buttons.