better button handling for game screens