Autonomous snapping and jumping polymer gels