fix bug with double clicking to open an edit cancelling the current edit & create mobile friendly expand button