joystick reinit timer

moved getticks to start of loop, created timer for joystick reinitialization