add flip functionality for all tiles on board page