added button system and buy button movement

buttons now correctly detect mouse interactions. also made the buy
buttons move with the buy menu.