added the ability for pan gesture recognizer to move blocks from side to side