top and bottom masks bouncing in and out