Tweaked & Tested button page handling. Works for up to 60 buttons (the pageMax's are hard coded atm, but I can probably refactor and make it work for n pages.... but hahaha fuck having more than 60 buttons, are you crazy?!)