Starting working on swiping in upgrade menu

Commented it out, because of to little time and not working correctly.
Will be worked on later if time allows it. Also added gamestate check in
inputmanager.