don't react if the fragment is not attached
Merge branch 'master' of github.com:urandom/gearshift