Revert "fix merging issues.Added function for 'opening' & 'closing' tiles"

This reverts commit 7388cf5f531353e6db54f11b3f1a74a9fa237dbc.