adds panning gesture to grab the blocks