added twist logic
Merge branch 'master' of https://github.com/AndyA13/dojo-may2013
added twist logic
Integreated twist logic
Fixed