Deciding which way to go: how do insects alter movements to negotiate barriers?