First off, close the opening.
It could be from some water problem. Do you have more shrimp? If so, are they constantly swimming, without resting? If so, you need to do emidiate actions to fix your tank water.
However, Amano shrimp are crawlers. They do swim, but they also walk and climb...