Adding buttons to flip chunks horizontally and vertically.